package com.example.demo1.Service;

import com.example.demo1.Bean.UserBean;
import com.github.pagehelper.PageInfo;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDate;
import java.util.List;

public interface UserService {

    PageInfo<UserBean> selectUserBykw(int pageNum, int pageSize,String keyword,String LastDateArrorder);
//    void updateUser( String isLogin,String UserId);
    void updateUser( String isLogin,String UserId,String UserName,String UserSex,String UserPhone,String UserAddress);
    void deleteUser(String UserId);
    List<UserBean> getAllUser();
    PageInfo<UserBean> selectAllUser(int pageNum, int pageSize,String LastDateArrorder);
    UserBean getUserByname(String name);
    void updateUserLastDate(String UserId, LocalDate date);
    void insertUser(String userid,String username,String usersex,String userphone,String usearddress,LocalDate date);
}
